
<?php
	if (!is_front_page() ) {
		if (function_exists('ya_breadcrumb')){
			ya_breadcrumb('<div class="breadcrumbs">', '</div>');
		} 
	}
?>
<h1 class="entry-title"><?php echo ya_title();?></h1>
<div class="clearfix contact_des"></div>
<?php if (!have_posts()) : ?>
<?php get_template_part('templates/no-results'); ?>
<?php endif; ?>
<div class="row">
<?php while (have_posts()) : the_post(); ?>

	<div class="blog-content col-lg-6 col-md-6 col-sm-6" id="post-<?php the_ID();?>" <?php post_class(); ?>>
		<div class="entry">
			<?php if (get_the_post_thumbnail()){?>
			<div class="entry-thumb">
				<a href="<?php the_permalink(); ?>">
					<div class="img_over">
						<?php the_post_thumbnail("medium")?>
					</div>
				</a>
			</div>
			<?php }?>
			<div class="entry-content">
				<div class="entry-meta">
					<?php get_template_part('templates/entry-meta'); ?>
				</div>
				<div class="title-blog">
					<h3>
						<a href="<?php the_permalink(); ?>"><?php the_title(); ?> </a>
					</h3>
				</div>
				
				<div class="entry-summary">
					<?php the_content('Read more'); ?>
					<?php wp_link_pages( array( 'before' => '<div class="page-links">' . __( 'Pages:', 'yatheme' ), 'after' => '</div>' ) ); ?>
				</div>
				<!-- <div class="entry-footer">
					<a class="btn btn-default read-more" href="<?php the_permalink()?>"><i class="icon-circle-arrow-right"></i>Continue reading</a>
					<a href="<?php comments_link(); ?>"><span class="btn btn-default comments"><i class="icon-comment-alt"></i><?php comments_number(__('Leave a reply', 'yatheme'), __('1 Replies', 'yatheme'), __('% Replies', 'yatheme'));?></span></a>
				</div> -->
			</div>
		</div>
	</div>
<?php endwhile; ?>
</div>
<!-- 
<?php if ($wp_query->max_num_pages > 1) : ?>
  <nav>
    <ul class="pager">
      <li class="previous"><?php next_posts_link(__('&larr; Older posts', 'roots')); ?></li>
      <li class="next"><?php previous_posts_link(__('Newer posts &rarr;', 'roots')); ?></li>
    </ul>
  </nav>
<?php endif; ?> -->
<div class="clearfix"></div>

	<div class="pagin_row">
		<?php get_template_part('templates/pagination'); ?>
	</div>

